Improved Bounds for Exact Counting of Satisfiability Solutions
نویسندگان
چکیده
An algorithm is presented for exactly solving (in fact, counting) the number of maximum weight satisfying assignments of a 2-SAT formula. The worst case running time of O(1.2461) for formulas with n variables improves on the previous bound of O(1.2561) by Dahllöf, Jonsson, and Wahlström. The weighted 2-SAT counting algorithm can be applied to obtain faster algorithms for combinatorial counting problems, including those of counting maximum weighted independent sets and weighted set packings. The above result when combined with a better partitioning technique for domains, leads to improved running times for counting the number of solutions of binary constraint satisfaction problems for all domain sizes. For large domain size d we approach O((0.6009d)) improving their previous best bound of O((0.6224d)). We further improve this bound for counting 3-colorings in a graph. We also present an algorithm for exactly counting weighted MAX 2-SAT assignments. Improving the trivial bound (even for the decision version) for MAX 2-SAT has been explicitly stated as a open problem ([28, 1, 22]). For a 2-SAT formula F , we have a worst case running time of O∗(2n(1−1/(d̃(F )−1))), where d̃(F ) is the average degree in the constraint graph defined by F . Our algorithm, together with its analysis is much simpler and avoids some tedious enumerations present in previous results. We use α−gadget introduced by Trevisan, Sorkin, Sudan, and Williamson to get the same upper bound for problems like MAX 3-SAT, MAX CUT. We also introduce a notion of strict (α, β)−gadget to provide a framework that allows composition of gadgets. This framework allows us to obtain the same upper bound for MAX NAE-k-SAT, MAX k-SAT, MAX k-LIN-2. In fact, any problem having a strict (α, β)−gadget reduction to MAX 2-SAT has the same upper bound. This opens the possibility of obtaining better bounds for many other problems. Some of the results appeared in a longer version as ECCC Report TR05-033 [16] Research supported in part by NSF Grant CCR-0209099
منابع مشابه
Model Counting: A New Strategy for Obtaining Good Bounds
Model counting is the classical problem of computing the number of solutions of a given propositional formula. It vastly generalizes the NP-complete problem of propositional satisfiability, and hence is both highly useful and extremely expensive to solve in practice. We present a new approach to model counting that is based on adding a carefully chosen number of so-called streamlining constrain...
متن کاملOn Computing k-CNF Formula Properties
The latest generation of SAT solvers (e.g. [9, 5]) generally have three key features: randomization of variable selection, backtracking search, and some form of clause learning. We present a simple algorithm with these three features and prove that for instances with constant ∆ (where ∆ is the clause-to-variable ratio) the algorithm indeed has good worst-case performance, not only for computing...
متن کاملAlgorithms, measures and upper bounds for satisfiability and related problems
The topic of exact, exponential-time algorithms for NP-hard problems has received a lot of attention, particularly with the focus of producing algorithms with stronger theoretical guarantees, e.g. upper bounds on the running time on the form O (cn) for some c. Better methods of analysis may have an impact not only on these bounds, but on the nature of the algorithms as well. The most classic me...
متن کاملRenyi entropies as a measure of the complexity of counting problems
Counting problems such as determining how many bit strings satisfy a given Boolean logic formula are notoriously hard. In many cases, even getting an approximate count is difficult. Here we propose that entanglement, a common concept in quantum information theory, may serve as a telltale of the difficulty of counting exactly or approximately. We quantify entanglement by using Rényi entropies S,...
متن کاملA Scalable Approximate Model Counter
Propositional model counting (#SAT), i.e., counting the number of satisfying assignments of a propositional formula, is a problem of significant theoretical and practical interest. Due to the inherent complexity of the problem, approximate model counting, which counts the number of satisfying assignments to within given tolerance and confidence level, was proposed as a practical alternative to ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2005